package org.pp.controller;


import io.swagger.v3.oas.annotations.Operation;
import org.pp.core.PageBean;
import org.pp.core.Result;
import org.pp.dto.PageDto;
import org.springdoc.core.annotations.ParameterObject;
import org.springframework.web.bind.annotation.GetMapping;

public interface BasePage<P> {

    @Operation(summary = "CRUD操作 分页查询")
    @GetMapping("/list")
    public Result<PageBean<P>> page(@ParameterObject PageDto page);
}
